<div id="admin-panel-wrapper">
	<div id="table-holder">
		<table class="admin-table" border="0">
	  		<tr>
			    <td><?php echo img('assets/icons/ic_list.png'); ?></td>
			    <td><?php echo anchor('/admin/list_stories','List image stories'); ?></td>
	  		</tr>
		</table>
	</div>

	<div id="form-holder">
		<?php 
			echo validation_errors();
			echo form_open_multipart('/upload/index/');
			echo form_label('Subject / Title: ');
			echo form_input('title');
			echo form_label('Story: ');
			echo form_textarea('story');
			$options = array(
	            'nature'  => 'Nature',
	            'cars'    => 'Cars',
	            'urban'   => 'Urban',
	            'misc' => 'Miscellaneous',
	        );
	        echo form_label('Category: ');
	        echo form_dropdown('categories', $options, 'nature');
	        echo form_label('Upload images: ');
	        echo form_upload('userfile');
	        echo form_label('Caption: ');
	        echo form_input('caption');
	        echo form_submit('upload', 'Submit Post!');
	        echo form_close();
	        echo $this->session->flashdata('message');
		?>
	</div>	
	
	<div id="logout-btn-holder">
		<?php echo anchor('admin/logout', 'Logout', 'title="Logout"'); ?>
	</div>
</div>